const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  device: state => state.app.device,
  requestLoading: state => state.app.requestLoading,

  roles: state => state.user.roles,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  token: state => state.user.token,
  introduction: state => state.user.introduction,
  status: state => state.user.status,
  setting: state => state.user.setting,

  permissionRouters: state => state.permission.routes,
  addRouters: state => state.permission.addRouters,
  groupRouters: state => state.permission.groupRouters,
  groupList: state => state.permission.groupList,

  errorLogs: state => state.errorLog.logs
}

export default getters
